Skip to main content
Version: 5.0.x {nightly}

IOT protocol

info
  • All here listed messages are little-endian.
  • DLC of all messages is 8 bytes
  • Host - IOT device connecting to the controller
  • Controller - siliXcon controller with LYNX firmware
tip
  • In most cases use host address = 7
  • controller address is usually 0
    • It is possible to use broadcast value as controller address - 255
  • If you have multiple controllers, each controller must have a unique address

Command request

CAN_ID = 0x630 + host address

BytetypeDescription
0UINT_8controller addr, 255 = broadcast
0-3 bite operation code,
4-7 session id
2UINT_8Operation code index
3UINT_8Operation code subindex
4-7-Data

Command response

CAN_ID = 0x640 + controller address

BytetypeDescription
0UINT_8Host addr, 255 = broadcast
1-Same as was in command request
2-Same as was in command request
3UINT_8Message index (for bulk data), 255 = last message
4-7-Data

Operation code

Operation codeDescription
1Read parameter
2Write parameter
3Load from backup parameter (restore)
3Read metadata
4Write metadata (reserved)
5Issue command
6Load parameters

Read / write / load from backup parameter

When you read a parameter, in the request msg, leave "data" null. When you set a parameter, in response is real/set value.

Message index = 255 -> parameter/map does not exist.

IndexParameter list description
0 - 10Map number
15Map options
16Gear opts
20 - 255Reserved for other parameters
Sub-index for map listDescriptionData
1kphFloat
2pwrFloat
3trqlvlFloat
4accvlvFloat
5paslvlFloat
6pastrqFloat
7comlvlFloat
8sbrakelvlFloat

Index = 15

This param are READ ONLY, you can not change them using CAN message

Sub-index for map optionsDescriptionData
1kphlimitFloat
2pwrlimitFloat
3restmapcntUINT8
4mapcntUINT8

Index = 16

Sub-index for gear optionsDescriptionData
1gearthrFloat
2odothrFloat

Read / write metadata

When data are char, the subindex in response is incremented each msg. The last message is with subindex = 255.

IndexDescriptionData
1Usrcalib - DevNameChar
2Usrcalib - DevSNChar
3 -12Usrcalib - DevIdXINT_32
20Device SN12x Char
21SWIDChar
22HWIDChar
30SWID hashUINT32
31Config hashUINT16

Issue command

IndexDescriptionsub-indexResponse Data
1lock device0 - success
2un-lock device0 - success
3Force mapMap number0 - success
4Reset trip counter0 - success
20Parameter save0 - succes, 1 - error
21Load parameters from main0 - success, 1 - error
22Load parameters from backup0 - success, 1 - error
50Execute identrun
mode must be STANDBY or BRAKE
0 - success